package com.bkhech.boot.configure.security.core;

import com.bkhech.boot.configure.common.code.StatusCode;

/**
 * 安全状态码
 *
 * @author guowm
 * @date 2023/2/7
 */
public class SecurityStatusCode extends StatusCode {
    public static final StatusCode BAD_REQUEST = new StatusCode(400, "请求参数不正确");
    public static final StatusCode UNAUTHORIZED = new StatusCode(401, "账号未登录");
    public static final StatusCode FORBIDDEN = new StatusCode(403, "没有该操作权限");
    public static final StatusCode NOT_FOUND = new StatusCode(404, "请求未找到");
    public static final StatusCode METHOD_NOT_ALLOWED = new StatusCode(405, "请求方法不正确");

}
